package com.dyava.commons.file;

import java.io.IOException;
import java.io.InputStream;

public interface FileStore {

	public String save(String dir, String fileName, InputStream ism) throws IOException;
	public String saveData(String dir, String fileName, byte[] data) throws IOException;
	
	public InputStream load(String id) throws IOException;
	public byte[] loadData(String mark) throws IOException;

	
}
